package com.atguigu.jxc.dao;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author :ttm
 * @description :
 */
public interface CustomerDao {


    List<Customer> list(@Param("offSet") int offSet, @Param("rows") Integer rows,@Param("customerName") String customerName);


    Integer addCustomer(Customer customer);


    Customer findCustomerByName(String customerName);

    Integer updateCustomer(Customer customer);

    Integer delete(int parseInt);

    List<Customer> getCustomerListByNameLike(String q);
}
